<?php

if ( ! defined("IN_OP") )
{
    exit("You can't access this file directly...");
}

if ( ! isset($idxGametype) )
{
    header("Location: op.php");
    exit();
}
if ( $g_init_mode_6h )
{
    $default_3d_top_src = "op.php?op=admin&fp=title&gametype=0";
    $default_3d = "op.php?op=admin&fp=login&gametype=0";
}
else if ( $g_init_mode_3d )
{
    $default_3d_top_src = "op.php?op=admin&fp=title_3d&gametype={$idxGametype}";
    $default_3d = "op.php?op=admin&fp=login_3d&gametype={$idxGametype}";
}
$tmd = new tmd_tpl();
$tmd->assign("default_3d_top_src" , $default_3d_top_src);
$tmd->assign("default_3d" , $default_3d);
$tmd->display('admin/index_3d');